<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=<device-width>, initial-scale=1.0">
    <meta http-equiv="X-UA-Compatible" content="ie=edge">
    <title>Document</title>
</head>
<body>
    <div id="app1">
    <p>{{name}}</p>
    </div>
    <script src="js/vue.min.js"></script>
    <script>
    var vm=new Vue({
        el:"#app1",
        data:{
            name:"我的Vue程序"
        },
        created:function(){
            console.log("初始化和加载");
        },
        mounted:function(){
            consolo.log("mounted处罚");
        }
    })
    </script>
</body>
</html>